
export default {
  namespaced: true,
  state() {
    return {
      userName: '',
      token: ''

    }
  },
  mutations: {
    updateUserName(state, newUserName) {
      state.userName = newUserName
    },
    updateToken(state, newToken) {
      state.userName = newToken
    }
  }
}
